package cn.homework.dao;

import cn.homework.domain.MainType;

import java.util.List;
import java.util.Map;

/**
 * @author ACT
 */
public interface TypeDao {
    List<MainType> findAllProductType();

    void addProductType(MainType type);

    void delProductTypeByType(String type);

    List<MainType> findProductTypeByCondition(Map<String, String[]> map);
}
